package com.hm.shopping.service;

import java.util.List;

import com.hm.common.su.bean.PageInfo;
import com.hm.common.su.bean.PageInfo.PageInfoParam;
import com.hm.shopping.def.AdvertisingLocationEnum;
import com.hm.shopping.vo.AdvertisingVo;

/**
 * @author shishun.wang
 * @date 2018年1月19日 下午3:41:54
 * @version 1.0
 * @describe
 */
public interface AdvertisingService {

	public void addAdvertising(AdvertisingVo advertisingVo);

	public List<AdvertisingVo> getAdvertisings(AdvertisingLocationEnum advertisingLocation, int size);

	public PageInfo<AdvertisingVo> queryAdvertising(PageInfoParam pageParam, AdvertisingLocationEnum advertisingLocation, String advertisingTitle);

	public void updateAdvertising(AdvertisingVo advertisingVo);

	public AdvertisingVo getAdvertising(String advertisingId);

	public void deleteAdvertising(String advertisingId);
}
